//
//  BasicViewController.swift
//  TimMusic
//
//  Created by nkl on 2024/10/8.
//

import Foundation
import UIKit

class BasicViewController : UIViewController {
    
    override func viewDidLoad() {
        super.viewDidLoad()
        addChildren()
        makeConstraints()
    }
    
    
    func addChildren(){
    }
    
    func makeConstraints(){
       
    }

}


class BasicBGViewController : BasicViewController {
    lazy var bgImageView : UIImageView = .simpleImage(imageName: "bj")
    
    override func viewDidLoad() {
        super.viewDidLoad()
        addChildren()
        makeConstraints()
    }
    
    
    override func addChildren(){
        super.addChildren()
        view.addSubview(bgImageView)
    }
    
    override func makeConstraints(){
        super.makeConstraints()
        bgImageView.snp.makeConstraints { make in
            make.edges.equalToSuperview()
        }
    }

}
